package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Appointment;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import cn.wolfcode.car.common.base.query.QueryObject;

public interface IAppointmentService {

    Appointment queryById(Long id);

    TablePageInfo<Appointment> query(QueryObject qo);

    void save(Appointment appointment);

    void update(Appointment appointment);

    void deleteById(Long id);

    void changStatus(Long id, Integer status);

    Long generateStatement(Long id);
}
